﻿using System;
using ProjScan.RecordManager;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;

namespace ProjScan.ScanRule.ProjectAssets.Prefab
{
	// Token: 0x020001D7 RID: 471
	[PrefabRuleAttr]
	internal class UIImage_Unvisible : RecordRuleImp<ImageAssetData, ImageRecordManager>
	{
		// Token: 0x06000EBA RID: 3770 RVA: 0x000426C4 File Offset: 0x000408C4
		protected override bool IsOK(ImageAssetData assetData)
		{
			return assetData.cullTransparentMesh || (double)assetData.imageColor.a > 0.001;
		}
	}
}
